.class Lcom/netease/newsreader/activity/SettingsActivity$5$1;
.super Ljava/lang/Thread;
.source "SettingsActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/SettingsActivity$5;->onClick(Landroid/content/DialogInterface;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/netease/newsreader/activity/SettingsActivity$5;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/SettingsActivity$5;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/SettingsActivity$5$1;->this$1:Lcom/netease/newsreader/activity/SettingsActivity$5;

    .line 137
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 140
    new-instance v1, Ljava/io/File;

    sget-object v3, Lcom/netease/newsreader/util/FileUtils;->FileTempDir:Ljava/lang/String;

    invoke-direct {v1, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 141
    .local v1, f:Ljava/io/File;
    new-instance v2, Ljava/io/File;

    sget-object v3, Lcom/netease/newsreader/util/PicUtil;->phototempDir:Ljava/lang/String;

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 143
    .local v2, f2:Ljava/io/File;
    :try_start_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/SettingsActivity$5$1;->this$1:Lcom/netease/newsreader/activity/SettingsActivity$5;

    invoke-static {v3}, Lcom/netease/newsreader/activity/SettingsActivity$5;->access$0(Lcom/netease/newsreader/activity/SettingsActivity$5;)Lcom/netease/newsreader/activity/SettingsActivity;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/util/NeteaseHttpClient;->getCache(Landroid/content/Context;)Lcom/jakewharton/DiskLruCache;

    move-result-object v3

    invoke-virtual {v3}, Lcom/jakewharton/DiskLruCache;->delete()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 148
    :goto_0
    invoke-static {v1}, Lcom/netease/newsreader/util/FileUtils;->deleteFile(Ljava/io/File;)Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-static {v2}, Lcom/netease/newsreader/util/FileUtils;->deleteFile(Ljava/io/File;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 149
    iget-object v3, p0, Lcom/netease/newsreader/activity/SettingsActivity$5$1;->this$1:Lcom/netease/newsreader/activity/SettingsActivity$5;

    invoke-static {v3}, Lcom/netease/newsreader/activity/SettingsActivity$5;->access$0(Lcom/netease/newsreader/activity/SettingsActivity$5;)Lcom/netease/newsreader/activity/SettingsActivity;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/SettingsActivity;->access$4(Lcom/netease/newsreader/activity/SettingsActivity;)Landroid/os/Handler;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 155
    :goto_1
    return-void

    .line 144
    :catch_0
    move-exception v0

    .line 146
    .local v0, e:Ljava/io/IOException;
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_0

    .line 152
    .end local v0           #e:Ljava/io/IOException;
    :cond_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/SettingsActivity$5$1;->this$1:Lcom/netease/newsreader/activity/SettingsActivity$5;

    invoke-static {v3}, Lcom/netease/newsreader/activity/SettingsActivity$5;->access$0(Lcom/netease/newsreader/activity/SettingsActivity$5;)Lcom/netease/newsreader/activity/SettingsActivity;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/SettingsActivity;->access$4(Lcom/netease/newsreader/activity/SettingsActivity;)Landroid/os/Handler;

    move-result-object v3

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_1
.end method
